package com.example.democrud.employee.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.democrud.employee.pojo.EmployeeDO;
import com.example.democrud.employee.pojo.SummaryVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @ClassName EmployeeMapper
 * @Author Administrator
 * @Date 2020/4/21   9:00
 */
@Repository
public interface EmployeeMapper  extends BaseMapper<EmployeeDO> {
    IPage<SummaryVO> queryCountGroupByType(Page<?> page, @Param(Constants.WRAPPER) Wrapper<EmployeeDO> wrapper);

}
